package com.kk.emp.service.impl;
/*
 *@author KK on 2022.10.08 1:52
 */

import com.kk.emp.dao.DeptMapper;
import com.kk.emp.entity.Dept;
import com.kk.emp.service.DeptServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptServicesImpl implements DeptServices {
    @Autowired
    private DeptMapper deptMapper;
    @Override
    public List<Dept> getAll() {
        List<Dept> all = deptMapper.getAll();
        return all;
    }
}
